@import "../../../../../public/reset.scss";

@mixin num($w: 100vw, $h: auto) {
    width: $w;
    height: $h;
}

$base-size : 75px;

@function px2rem($val) {
    @return $val/$base-size * 1rem;
}

html,
body {
    @include num(100%, 100%)
}


.search {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f2f2f2;
    overflow: scroll;
    position: relative;
    // overflow: hidden;
}

.search header {
    width: 100%;
    height: 40px;
    display: flex;
    padding: 0 10px;
    justify-content: space-between;
    align-items: center;
    background-color: #64beb4;
    color: #fff;
    border-bottom: 0;
}

.search nav {
    width: 100%;
    height: 40px;
    display: flex;
    padding: 0 10px;
    justify-content: space-between;
    align-items: center;
    background-color: #64beb4;
    border: 0;
    color: #fff;

    button {
        background-color: #64beb4;
        border: 0;
        font-size: 13px;
    }

    div {
        width: 50%;
        height: 25px;
        line-height: 25px;
        font-size: 13px;
        border-radius: 30px;
        text-align: center;
        background-color: #61ccbf;
    }
}

.search .date {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 40px;
}

.search main{
    flex: 1;
    overflow-y: scroll;
    .box{
        width: 92%;
        height: 120px;
        margin-left: 4%;
        background-color: #fff;
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: relative;
        margin-top: 20px;
        border-radius: 5px;
        p{
            width: 25%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            align-items: center;
            font-size: 14px;
        }
        .big{
            font-size: 18px;
        }
        .bigs{
            font-size: 14px;
        }
        .bigss{
            font-size: 13px;
        }
        p:nth-child(4){
            font-size: 20px;
        }
        .split{
            position: absolute;
            top: 30%;
            left: 28%;
            width: 20%;
            height: 1px;
            border-top: 1px solid #ccc;
        }
    }
}